package com.fxwater.api;

import org.springframework.stereotype.Component;

@Component
public class ApiConst {

    public static String TOKEN_KEY = "User-Token";
    public static String LOGIN_SESSION_KEY = "FXW_USER";
    
    public static String BASE_PATH;

    public static String PASSWORD_KEY = "OEH&@0Ef5xCu#1^TVD6kHiSz";

    public static String DES3_KEY = "Wz3*tw59$sdrIClIPfR%EpiU";

    public static String default_logo = "img/logo.jpg";

    public static String userAgent = "Mozilla";

    public static String default_Profile = BASE_PATH + "/img/logo.jpg";

    public static String LAST_REFERER = "LAST_REFERER";
    
    public static int COOKIE_TIMEOUT= 30*24*60*60;
    
    /** 验证码有效期：3分钟 */
    public static int CAPTCHA_TIMEOUT = 3 * 60;
    
    /** 每页条数 */
    public static int PAGE_SIZE = 5;
    
}
